package com.action.gulimall.seckill.service;

import com.action.gulimall.seckill.to.SeckillSkuRedisTo;
import com.action.gulimall.seckill.vo.SeckillSkuVo;

import java.util.List;

/**
 * @author sl shilun217@qq.com
 * @Deacription 商品秒杀业务接口
 * @date 2021/07/05/10:52
 **/
public interface SeckillService {
    void upSeckillSessionWithSkusFuture3Days();

    List<SeckillSkuRedisTo> getCurrentSeckillSkus();

    SeckillSkuVo getSeckillInfoBySkuId(Long skuId);

    String kill(String killId, String key, Integer num);
}
